package cn.iocoder.yudao.module.hs.controller.admin.picktaskmaterial.vo;

import cn.iocoder.yudao.module.hs.controller.admin.picktaskmaterialdetail.vo.PickTaskMaterialDetailRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 拣货任务机型明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PickTaskMaterialRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "5523")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "拣货任务ID", example = "30017")
    @ExcelProperty("拣货任务ID")
    private Long pickTaskId;

    @Schema(description = "出库单ID", example = "7411")
    @ExcelProperty("出库单ID")
    private Long shipOrderId;

    @Schema(description = "物料代码")
    @ExcelProperty("物料代码")
    private String materialModeCode;

    @Schema(description = "物料名称")
    @ExcelProperty("物料名称")
    private String materialName;

    @Schema(description = "出库数量", example = "982")
    @ExcelProperty("出库数量")
    private Integer materialCount;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "状态：TO_BE_PICKED-待拣货；PICKING-拣货中；PICK_OVER-拣货完成", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("拣货状态")
    private String status;

    @Schema(description = "已拣数量", example = "10")
    @ExcelProperty("已拣数量")
    private Integer pickCount;

    /**
     * 拣货结果明细
     */
    private List<PickTaskMaterialDetailRespVO> pickTaskMaterialDetailList;

}